<% for reply in userReplies %>
        <div class="sum" style="padding: 5px;">
            <h3><%= post_path(reply.post)%></h3>
            <div class="sum-d">
                <span class="action-d">
                来自 <%= link_to "#{reply.post.user.display_name}", user_path(reply.post.user.login) %> <%= post_parent_path(reply.post)%>
                <% if reply.post.class == CommonPost -%>
                    <%= reply.post.voteuseful_count%>/<%= reply.post.voteuseful_count + reply.post.voteuseless_count%>的人觉得有用
                <% end -%>
                <%= reply.post.replies.size%>个回复
                <% if reply.post.class == CommonPost && !reply.post.user.community.nil? -%>
                    <%= link_to "#{reply.post.community.title}", community_path(reply.post.community.district, reply.post.community) %>
                <% end -%>
                </span>
                - <%=local_date reply.post.created_at%>
            </div>
        </div>
<% end %>